f09f87cb41e5e1c90022a10b15d53f0c9f146d30,src/org/openstreetmap/josm/plugins/mapillary/mode/SelectMode.java,SelectMode,mouseDragged,#MouseEvent#,97
Before Change
} else { // move
LatLon eventLatLon = Main.map.mapView.getLatLon(e.getX(), e.getY());
LatLon imgLatLon = Main.map.mapView.getLatLon(highlightImgPoint.getX(), highlightImgPoint.getY());
this.data.getMultiSelectedImages().parallelStream()
.forEach(img -> img.move(eventLatLon.getX() - imgLatLon.getX(), eventLatLon.getY() - imgLatLon.getY()));
}
Main.map.repaint();
}
After Change
} else { // move
LatLon eventLatLon = Main.map.mapView.getLatLon(e.getX(), e.getY());
LatLon imgLatLon = Main.map.mapView.getLatLon(highlightImgPoint.getX(), highlightImgPoint.getY());
this.data.getMultiSelectedImages().parallelStream().filter(img -> !(img instanceof MapillaryImage) || MapillaryProperties.DEVELOPER.get())
.forEach(img -> img.move(eventLatLon.getX() - imgLatLon.getX(), eventLatLon.getY() - imgLatLon.getY()));
}
Main.map.repaint();
}